////////////////////////////////////////////////////////////////////////////////
// Filename: L_dx11resourcemanager.h
////////////////////////////////////////////////////////////////////////////////
#ifndef _L_DX11RESOURCEMANAGER_H_
#define _L_DX11RESOURCEMANAGER_H_

#include <D3DX11.h>
#include <map>
#include <string>
using namespace std;

class L_DX11ResourceManager
{
	ID3D11Device* Device;
	map< string, ID3D11ShaderResourceView*, less<string> > Textures;
public:
	L_DX11ResourceManager();
	~L_DX11ResourceManager();

	void Init(ID3D11Device* tDevice);
	bool InitTexture(string FileName);

	ID3D11ShaderResourceView* GetTexture(string FileName);
};

#endif